// components/navbar/index.js
const app = getApp()
Component({
  options: {
    addGlobalClass: true,
    multipleSlots: true
  },

  properties: {
    lastTitle: {
      type: String,
      value: '返回'
    },
    showBack: {
      type: Boolean,
      value: false
    }
  },
  /**
   * 页面的初始数据
   */
  data: {
    StatusBar: app.globalData.StatusBar,
    CustomBar: app.globalData.CustomBar,
  }
})